package org.apache.flink.runtime.resourceprovider;

import java.io.Serializable;

/** Payload for heartbeats sent from the ResourceProvider to the ResourceManager. */
/**
 * @类名: ResourceProviderHeartbeatPayload
 * @说明: ResourceProvider到ResourceMananger心跳负载
 *
 * @author   leehom
 * @Date	 2024年2月2日 下午7:12:11
 * 修改记录：
 *
 * @see 	 
 */
public class ResourceProviderHeartbeatPayload implements Serializable {

    private static final long serialVersionUID = -4556838854992435612L;

    private final SlotReport slotReport;

    public ResourceProviderHeartbeatPayload(
            SlotReport slotReport) {
        this.slotReport = slotReport;

    }

    public SlotReport getSlotReport() {
        return slotReport;
    }

    @Override
    public String toString() {
        return "TaskExecutorHeartbeatPayload{"
                + "slotReport="
                + slotReport
                + '}';
    }
}
